<template>
    <el-empty description="这里是一个没人来过的地方">
        <el-button type="primary" @click="toIndexPage">放我回主页</el-button>
    </el-empty>
</template>

<script setup lang="ts">
import router from '../router';

const toIndexPage = () => {
    router.push("/");
}

</script>